<html>
    <head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
		<title>Terenac</title>
		<link rel="stylesheet" href="css/styleLogin.css" type="text/css" />
    </head>
    <body>
		<div class="page">
			<div class="header">
				<a href="index.html" id="logo"><img src="images/logo1.png" alt="Terenac"/></a>
                                <ul>
                                <li><a href="index.php">Back</a></li>
                                </ul>
			</div>
			<div class="body">
                            <h1>Settings</h1>
                            <form method="POST">
                            <table>
                                <tr id="height">
                                    <td>Username:</td>
                                    <td><input class="input" type="text" name="username1" value="{$username}" disabled="disabled"/></td>            
                               </tr>
                               <tr id="height">
                                   <td>Old password:</td> 
                                   <td><input class="input" type="password" name="oldPassword"/>
                                    {$oldPasswordMessage}</td></td>
                               </tr>
                               <tr id="height">
                                   <td>Password:</td> 
                                   <td><input class="input" type="password" name="pass"/>
                                    {validate id="passwordLength" message="Password is too short, minimum 4 characters required"}
                                    {validate id="passwordMatch" message="Passwords dont match"}</td></td>
                               </tr> 
                               <tr id="height">
                                   <td>Password again:</td> 
                                   <td><input class="input" type="password" name="pass2"/></td>
                              </tr>
                               <tr id="height"><td></td>
                                  <td id="centriranje"><input class="button" type="submit" value="Change password"/>{$message}</td>
                               </tr>
                                </table>
                            </form>
                        </div>
                        <div class="footer">
				<p class="paragraphcenter">&#169; Copyright &#169; 2012. Terenac all rights reserved</p>
			</div>
    </body>
</html>